package cn.jly.spring.boot.cloud.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author lanyangji
 * @description
 * @date 2020/12/18 上午 10:35
 */
@Configuration
public class RestTemplateConfig {
    @Autowired
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
